:root {
  /* 字体与渲染 */
  font-family: system-ui, Avenir, Helvetica, Arial, sans-serif;
  line-height: 1.5;
  font-weight: 400;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;

  /* 主题（柔和配色） */
  --el-color-primary: #5b8def;        /* 柔和蓝 */
  --el-color-success: #60c38c;
  --el-color-warning: #f4c567;
  --el-color-danger:  #ef7d7d;
  --el-color-info:    #8aa1c1;

  --app-bg: #f6f8fc;                  /* 页面背景 */
  --card-bg: #ffffff;                 /* 卡片背景 */
  --text-1: #1f2d3d;                  /* 主文字 */
  --text-2: #606266;                  /* 次要文字 */
  --border-soft: #e6ebf5;             /* 细边框 */
}

a {
  font-weight: 500;
  color: #646cff;
  text-decoration: inherit;
}
a:hover {
  color: #535bf2;
}

html, body, #app { height: 100%; }
body {
  margin: 0;
  min-width: 320px;
  min-height: 100vh;
  background: var(--app-bg);
  color: var(--text-1);
}

h1 {
  font-size: 3.2em;
  line-height: 1.1;
}

button {
  border-radius: 8px;
  border: 1px solid transparent;
  padding: 0.6em 1.2em;
  font-size: 1em;
  font-weight: 500;
  font-family: inherit;
  background-color: #1a1a1a;
  cursor: pointer;
  transition: border-color 0.25s;
}
button:hover {
  border-color: #646cff;
}
button:focus,
button:focus-visible {
  outline: 4px auto -webkit-focus-ring-color;
}

.card {
  padding: 2em;
}

#app { text-align: initial; }

/* Element Plus 组件细节统一 */
.el-card {
  background: var(--card-bg);
  border-radius: 12px;
  border-color: var(--border-soft);
}
.el-table.is-bordered, .el-table--border { border-color: var(--border-soft); }
.el-table th.el-table__cell { background: #f4f7ff; }
.el-button { border-radius: 8px; transition: all .2s ease; }
.el-input__wrapper, .el-select .el-input__wrapper { border-radius: 10px; }
.el-pagination { margin: 12px 0; }
